//
//  TiXianViewController.m
//  YDD
//
//  Created by 欧洪飞 on 2017/8/22.
//  Copyright © 2017年 jy. All rights reserved.
//

#import "TiXianViewController.h"

#import "BankCardViewController.h"
@interface TiXianViewController ()

@property (weak, nonatomic) IBOutlet UIView *viewCard;
@property (weak, nonatomic) IBOutlet UIImageView *imagesBank;
@property (weak, nonatomic) IBOutlet UILabel *labBank;
@property (weak, nonatomic) IBOutlet UILabel *labCard;
@property (weak, nonatomic) IBOutlet UITextField *text;
@property (weak, nonatomic) IBOutlet UILabel *labSum;
@property (weak, nonatomic) IBOutlet UILabel *labTXprice;


@end

@implementation TiXianViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self showNav:@"提现"];
    
    _viewCard.userInteractionEnabled = YES;
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(click)];
    [_viewCard addGestureRecognizer:tap];
    
}

- (void)click{
    BankCardViewController *card = [[BankCardViewController alloc] init];
    [self.navigationController pushViewController:card animated:YES];
}
- (IBAction)clickTX:(id)sender {
    
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [[UIApplication sharedApplication].keyWindow endEditing:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)labSumPrice:(id)sender {
}
@end
